package lab02.test06;

public class Circle {
    private double radius;
    private double peremiter;
    private double area;
    static final double π = 3.1415926;
    public Circle(){

    }

    public Circle(double radius) {
        this.radius = radius;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public double peremiter(){
        peremiter = 2 * π * radius;
        return peremiter;
    }

    public double area(){
        area = π * radius * radius;
        return area;
    }
}
